package io.bsly.modules.app.dao.sourceDao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.bsly.modules.app.entity.sourceEntity.RoomTypeEntity;
import io.bsly.modules.app.pojo.HotelRoomTypeVo;
import io.bsly.modules.app.pojo.RoomTypeFrom;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 
 * 
 * @author fys
 * @email demo@gmail.com
 * @date 2021-09-26 15:33:56
 */
@Mapper
public interface RoomTypeDao extends BaseMapper<RoomTypeEntity> {

    List<RoomTypeEntity> listByMeal(@Param("dto") RoomTypeFrom from);

    List<HotelRoomTypeVo> getDetailWithTypeData(Integer hotelId);
}
